import request from "@/api/request"

// 请求首页数据

function listaction(data){
    return request({
        url:"/category/indexaction",
        method:"get",
        data
    })
}

function currentaction(data){
    return request({
        url:"/category/currentaction",
        method:"get",
        data
    })
}

function categoryinfo(data){
    return request({
        url:"/category/categoryNav",
        method:"get",
        data
    })
}

function goodsList(data){
    return request({
        url:"/goods/goodsList",
        method:"get",
        data
    })
}

export {
    listaction ,currentaction ,categoryinfo ,goodsList
}